// 连接数据库的文件
const mongoose = require('mongoose');
// mongoose.connect('mongodb://lovo:lovo8848@asbdk.com:27020/demo?authSource=admin', {useNewUrlParser: true, useUnifiedTopology: true});
mongoose.connect('mongodb://127.0.0.1:27017/f85', {useNewUrlParser: true, useUnifiedTopology: true});
mongoose.connection.on("connected",function(){
    console.log('MongoDB is Connected');
})